package com.hechi.provider_rabbitmq;

import org.springframework.context.annotation.Bean;

import java.util.Queue;

public class RabbitMQConfig {

    @Bean
    public Queue queueMail(){
        return new Queue("mail_queue");
    }
}
